// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.profanity.locales;

import java.util.regex.Matcher;
import zombie.profanity.Phonizer;

public class LocaleGerman extends LocaleEnglish {
    public LocaleGerman(String tag) {
        super(tag);
    }

    @Override
    protected void Init() {
        this.storeVowelsAmount = 3;
        super.Init();
        this.addPhonizer(new Phonizer("ringelS", "(?<ringelS>\u00c3\u0178)") {
            @Override
            public void execute(Matcher matcher, StringBuffer stringBuffer) {
                if (matcher.group(this.getName()) != null) {
                    matcher.appendReplacement(stringBuffer, "S");
                }
            }
        });
    }
}
